<html>
    <head>
        <title>Ubah Data Kartu Keluarga</title>
        <link href="<?php echo base_url('assets/css/formkk.css'); ?>" rel="stylesheet" type="text/css">
        <link href="<?php echo base_url('assets/js/jquery-ui.css'); ?>" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="<?php echo base_url('assets/js/jquery-1.9.1.js'); ?>"></script>
        <script type="text/javascript" src="<?php echo base_url('assets/js/jquery-ui.js'); ?>"></script>

        <script type="text/javascript">
            $(function() {
                $("#tgl_pembuatan").datepicker({changeMonth: true, changeYear: true});
            });
        </script>
    </head>
    <body>
        <form action="<?php echo base_url('kk/simpan_ubah'); ?>" method="post" enctype="multipart/form-data">
            <table width="471" border="0" align="center">
                <tr>
                    <td colspan="5" class="trheader"><strong>Formulir Data Kartu Keluarga</strong></td>
                </tr>
                <tr>
                    <td colspan="5" class="jeda">&nbsp;</td>
                </tr>
                <tr>
                    <td width="130">No. KK</td>
                    <td colspan="4"><input type="text" name="no_kk" id="no_kk" class="textinput" value="<?php echo $data_kk->no_kk; ?>"/></td>
                </tr>
                <tr>
                    <td width="130">Alamat</td>
                    <td colspan="4"><input type="text" name="alamat" id="alamat" class="textinput" value="<?php echo $data_kk->alamat; ?>" /></td>
                </tr>
                <tr>
                    <td height="30">Dusun</td>
                    <td colspan="5"><input type="text" name="dusun" id="dusun" class="textinput" value="<?php echo $data_kk->dusun; ?>" /></td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td colspan="4">&nbsp;&nbsp;&nbsp;RT&nbsp;&nbsp;&nbsp;
                        <input type="text" name="rt" id="rt" class="textinputdua" value="<?php echo $data_kk->rt; ?>" />      RW&nbsp;&nbsp;&nbsp;
                        <input type="text" name="rw" id="rw" class="textinputdua" value="<?php echo $data_kk->rw; ?>" /></td>
                </tr>

                            <tr>
                                <td>Tanggal Pembuatan</td>
                                <td colspan="4"><input type="text" name="tgl_pembuatan" id="tgl_pembuatan" class="textinput" value="<?php echo $data_kk->tgl_pembuatan; ?>" /></td>
                                                       </tr>
                                                       <tr>
                                                       <td colspan="5">&nbsp;</td>
                            </tr>
                            <tr>
                                <td colspan="3">&nbsp;</td>
                                <td width="143"><input type="submit" name="ubah" id="ubah" value="Ubah" class="btn btn-large"/></td>
                                <td width="223">&nbsp;</td>
                            </tr>
            </table>



    </form>
    </body>
</html>
